//
//  WmcEditTagTintView.swift
//  YPWatermarkCamera
//
//  Created by 赵新 on 2022/4/13.
//

import UIKit

class WmcEditScaleScrollView: UIScrollView {
    var tagTintView: UIView?

    var tagViews: [WmcBaseTagView] = []

//    override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
//        let superHit = super.hitTest(point, with: event)
//        guard let tagTintView = tagTintView else { return superHit }
//        let tagViewScrollFrame = tagTintView.convert(tagTintView.bounds, to: self)
//        guard !tagViewScrollFrame.contains(point) else { return superHit }
//        for tagView in tagViews {
//            let tagViewFrame = tagView.convert(tagView.bounds, to: self)
//            if tagViewFrame.contains(point) {
//                return tagTintView.hitTest(point, with: event)
//            }
//        }
//        return superHit
//    }
}
